package com.suyin.ximoon.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.suyin.ximoon.dao.LyRoleDao;
import com.suyin.ximoon.model.LyRole;
import com.suyin.ximoon.service.LyRoleService;

@Service
@Transactional(rollbackFor = { Exception.class })
public class LyRoleServiceImpl extends BaseServiceImpl<LyRole> implements LyRoleService {

	private LyRoleDao lyRoleDao;
	@Resource
	public void setLyRoleDao(LyRoleDao lyRoleDao) {
		this.lyRoleDao = lyRoleDao;
		setBaseDao(lyRoleDao);
	}
	@Override
	public List<LyRole> queryUserRole(Map<?, ?> map) {
		return lyRoleDao.queryUserRole(map);
	}

}
